package request

type ArticleRequest struct {
	Title   string `form:"title" binding:"required"`
	Context string `form:"context" binding:"required"`
}

type ArticleHistoryRequest struct {
	ArticleId int `form:"article_id" binding:"required"`
}

type ArticleLikeRequest struct {
	ArticleId int `form:"article_id" binding:"required"`
}

type AddArticleReviewRequest struct {
	ArticleId int    `form:"article_id" binding:"required"`
	Review    string `form:"review" binding:"required"`
}

type ResArticleReviewRequest struct {
	ArticleId int    `form:"article_id" binding:"required"`
	FatherId  int    `form:"father_id" binding:"required"`
	Review    string `form:"review" binding:"required"`
}

type ReviewLikeRequest struct {
	ReviewId int `form:"review_id" binding:"required"`
}

type GetArticleIdRequest struct {
	Id int `form:"id" binding:"required"`
}
